/*
 * Sycloud.com Inc.
 * Copyright (c) 2005-2066 All Rights Reserved.
 */
package com.insigma.business.qrcode.welfare.dao;


import com.insigma.business.qrcode.welfare.entity.CareWelfareServiceOrganizationDO;
import com.insigma.business.qrcode.welfare.dto.CareWelfareServiceOrganizationBSearcher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author juffett
 * @version $Id: CareWelfareServiceOrganizationDao.java, v 1.0.0 2021-9-9 14:34:35 juffett Exp $
 */
public interface CareWelfareServiceOrganizationDao {

    /**
     * 查询数据列表
     *
     * @param innerSearcher
     * @return
     */
    List<CareWelfareServiceOrganizationDO> search(final CareWelfareServiceOrganizationBSearcher innerSearcher);

    /**
     * 得到合法的非逻辑删除对象
     *
     * @param id
     * @return
     */
    CareWelfareServiceOrganizationDO get(final String id);

    /**
     * 插入对象
     *
     * @Param careWelfareServiceOrganizationDO
     * @return
     */
    Integer insert(final CareWelfareServiceOrganizationDO careWelfareServiceOrganizationDO);

    /**
     * 根据主键更新对象
     *
     * @Param careWelfareServiceOrganizationDO
     * @return
     */
    Integer update(final CareWelfareServiceOrganizationDO careWelfareServiceOrganizationDO);

    /**
     * 逻辑删除
     *
     * @Param id
     * @param modifierType
     * @param modifierId
     * @return
     */
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

}
